package com.wyc.alipay.remote;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("service-order")
public interface OrderFeignClient {

    /**
     * 支付完成
     * @param orderId
     */
    @PostMapping("/order/pay")
    void pay(@RequestParam("orderId") Long orderId);

}
